package genalgoritm.count;

public class Function {
	public static double count(double x) {
		return -x*x;
	}
	
	public static double[][] getFunction(){
		double[][] data = new double[2][141];
		for (int i = 0; i <= 140; i++) {
			data[0][i] = -10 + (i / 5);// x
			data[1][i] = Function.count(data[0][i]);// y
		}
		return data;
	}
}
